package org.zyzboole.base.encrypt.crypto.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 秘钥配置
 *
 * @author zyz
 * @date 2021年1月29日
 */
@Configuration
public class SecretConfig {

    @Value("${secret.rsa.public-key:MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC7EFljqWTl7ZBjlRbtX8mQ91RCBMBwYmTASF0BgZwuD+MGAXFnSSan9bJG4D5D7fWuHFzW7BuiNWAOiNBjWjnl6qCm9ZTEDdc02Q5qkTBThgRnAo/FUBpoMiF57DfR+69zEUg6a6bVZzZaci/wK0kXegRfm2HtqMrPdb+dsGCsgwIDAQAB}")
    private String publicKey;

    @Value("${secret.rsa.private-key:MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBALsQWWOpZOXtkGOVFu1fyZD3VEIEwHBiZMBIXQGBnC4P4wYBcWdJJqf1skbgPkPt9a4cXNbsG6I1YA6I0GNaOeXqoKb1lMQN1zTZDmqRMFOGBGcCj8VQGmgyIXnsN9H7r3MRSDprptVnNlpyL/ArSRd6BF+bYe2oys91v52wYKyDAgMBAAECgYAC64Npsdg4Wpf5ZfdgpzEfSS0QhsB2QKLv+XEyN9K3SVoy2szpXtPypTwuLQvrxYgjOqAcXr0jsA+aynnuQxdKP53SSIAPFFZ59FSy9MQ8e3lAN+bMaMFv1rowpWie6Dhku/XR7+Ripec6feNIfhMhwU8GO5W2qs7ucN3OSqyz6QJBAPAmdeH5Xssxd+B8Bf+6lLepJxQCgoPDAO6bit0eEw38KAGQQzYqyKsy96PKn9tEcb/eDy6qW2wyaWHv412f4UUCQQDHaPMvjHxvDUQmtBqhLVzIateKszhmR71Ohtdi3ZuvEGU/oHfoFBAqZuJm2dUaT0NFVzoAH9wtrlueIoTmph8nAkBGGVPrpFjxQv1U/57YqOPkQHHxu1HRmEhbXffI15CEUohy/GNCGnb80iHLI8hJvs7dTLptyrho+sYcGmPp3lNpAkBNIGaOyYOHYFYvshFqraTpT4m2d8MkrDKoILdF4fjJKUo/5cz60me+PrTqmu41ktquAyLH0YrTkFCXRTqqCy6ZAkB93WSBbHC24s8EX8bz2rpaBCQy8zrUmVpFk1B+xAEMVJTZfcmw1+fTD1LQFc2n8jD6G6RRuwDxv2oTca47Vt+B}")
    private String privateKey;

    public String getPublicKey() {
        return this.publicKey;
    }

    public String getPrivateKey() {
        return this.privateKey;
    }

}